home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gui / BGUI11c.lha / Install / InstallBGUI next >
Text File  |  1994-08-01  |  1KB  |  51 lines

  1. ;
  2. ; Installation script for the bgui.library (OS 2.0)
  3. ;
  4.  
  5. ; Strings
  6.  
  7. (set @default-dest "")
  8. (set lib-source   "/libs/bgui.library")
  9. (set lib-def-dest "LIBS:")
  10. (set lib-to       "Where do you want the bgui.library copied in?")
  11. (set lib-help
  12.         (cat      "If you have a special directory setup for third-party\n"
  13.                   "libraries you can select it here.\n\n\n"
  14.         )
  15. )
  16. (set wrong-kick   "You must be running Kickstart 2.04 to use the bgui.library.")
  17. (set copy-msg     "Copying the bgui.library to ")
  18. (set hail-msg
  19.         (cat      "\n\n\nBGUI installation script.\n"
  20.                   "This script will install the bgui.library on your Amiga.\n\n"
  21.                   "The bgui.library is\n(C) Copyright 1993-1994 Jaba Development.\n"
  22.                   "All Rights Reserved."
  23.         )
  24. )
  25.  
  26. ; Correct OS version?
  27.  
  28. (if (< (/ (getversion) 65536) 37) (abort wrong-kick))
  29.  
  30. (message hail-msg)
  31.  
  32. ; Ask where to copy the library.
  33.  
  34. (set lib-dest
  35.         (askdir
  36.                 (prompt  lib-to)
  37.                 (help    lib-help)
  38.                 (default lib-def-dest)
  39.         )
  40. )
  41.  
  42. ; Copy the library.
  43.  
  44. (copylib
  45.         (prompt (cat copy-msg (tackon lib-dest "bgui.library") "..."))
  46.         (help   @copylib-help)
  47.         (source lib-source)
  48.         (dest   lib-dest)
  49.         (confirm)
  50. )
  51.